package com.yc.cloud.admin.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;

@Schema(description = "设备注册请求DTO")
@Data
public class HwDeviceRegisterReqDTO {

    @Schema(description = "设备SN号", required = true)
    @NotEmpty(message = "设备SN号不能为空")
    private String deviceSn;

    @Schema(description = "设备IP地址")
    private String deviceIp;

    @Schema(description = "设备类型，不填则默认为边缘设备", required = false, example = "1")
    private Integer deviceType;
} 